The following tables list the members exposed by LockCounterFactory<T>.
Name | Description | |
---|---|---|
LockCounterFactory<T> Constructor | Constructs the lock tracking factory |
Name | Description | |
---|---|---|
CurrentReaderCount | Returns the total number of current readers for all threads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
CurrentWriterCount | Returns the total number of current writers for all threads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
MaxReaderCount | Returns the highest number of concurrent reads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
MaxWriterCount | Returns the highest number of concurrent writes (aka max recursive count) (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
TotalReaderCount | Returns the total number of read locks acquired (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
TotalWriterCount | Returns the total number of write locks acquired (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
Name | Description | |
---|---|---|
Create | Constructs the lock wrapped in a DebugLocking instance (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
GlobalAssertNoLocks | Asserts that none of the locks handed out are currently locked for read or write by any thread (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |